package com.xdxc.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.xdxc.entity.CorrectAnswerVo;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;


@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
public class QuestionWithOptionsVo implements Serializable {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long quId;
    private Integer quType;
    private String quTypeDictText;
    private String manual;
    private Integer answerOrder;
    private Double score;
    private String content;
    private String analysis;
    private String image;
    private List<SubList> subList;

    public List<SubList> getSubList() {
        return subList;
    }
    public void setSubList(List<SubList> subList) {
        this.subList = subList;
    }
    // Inner class for SubList
    public class SubList {
        // Define fields for SubList here
    }
    private List<AnswerVo> answerVoList;

    private CorrectAnswerVo correctAnswerVo;


}
